﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using BLL;

public partial class bwjc_Bwmsg : System.Web.UI.Page
{
    string type = "";
    public string show = "";

    BLLData bd = new BLLData();

    protected void Page_Load(object sender, EventArgs e)
    {
        string ID_KEY = HttpUtility.UrlDecode(Request.QueryString["ID_KEY"]);


        if (!IsPostBack)
        {
            if (ID_KEY != "")
            {
                string sql = "delete * from t_sheet_sheetPara where ID_key=" + ID_KEY;

                bool flag = bd.retIsTrueBySQL(sql);

                if (flag == true)
                    show = "数据删除成功..";//Jscript.AlertAndCloseWindow("保存成功!")
                else
                    show = "数据删除失败..";
            }
        }
    }
}
